home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Language/OS - Multiplatform Resource Library
/
LANGUAGE OS.iso
/
t3_1
/
risc_src.lha
/
risc_sources
/
xlib
/
xrectangle.t
< prev
next >
Wrap
Text File
|
1990-06-01
|
648b
|
11 lines
(herald xrectangle (env tsys (xlib interface)))
(DEFINE (MAKE-XRECTANGLE) (CONS 'XRECTANGLEP (MAKE-BYTEV 8)))
(DEFINE (XRECTANGLE-X X) (MREF-16-S (CHK-XRECTANGLEP X) 0))
(DEFINE (XRECTANGLE-X! X Y) (SET-MREF-16-S! (CHK-XRECTANGLEP X) 0 Y))
(DEFINE (XRECTANGLE-Y X) (MREF-16-S (CHK-XRECTANGLEP X) 2))
(DEFINE (XRECTANGLE-Y! X Y) (SET-MREF-16-S! (CHK-XRECTANGLEP X) 2 Y))
(DEFINE (XRECTANGLE-WIDTH X) (MREF-16-U (CHK-XRECTANGLEP X) 4))
(DEFINE (XRECTANGLE-WIDTH! X Y) (SET-MREF-16-U! (CHK-XRECTANGLEP X) 4 Y))
(DEFINE (XRECTANGLE-HEIGHT X) (MREF-16-U (CHK-XRECTANGLEP X) 6))
(DEFINE (XRECTANGLE-HEIGHT! X Y) (SET-MREF-16-U! (CHK-XRECTANGLEP X) 6 Y))